﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LastQuestionList.aspx.cs"
    Inherits="ExpertMIS.ExternalInterface.LastQuestionList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>专家在线——最新问题</title>
    <style type="text/css">
        *
        {
            padding: 0;
            margin: 0;
            border: 0;
            font-size: 12px;
            color: #595959;
        }
        ul
        {
            list-style: none;
        }
        li
        {
            height: 22px;
            line-height: 22px;
        }
        a
        {
            text-decoration: none;
        }
        a:hover
        {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div id="last_question">
        <div id="l_ban">
            <h1>
                最新提问</h1>
        </div>
        <asp:Repeater runat="server" ID="repNewQuestions" OnItemDataBound="repNewQuestions_ItemDataBound">
            <HeaderTemplate>
                <ul>
            </HeaderTemplate>
            <ItemTemplate>
                <li>
                    <asp:Label runat="server" ID="lblDomains" Style="float: left; width: 50px;"></asp:Label>
                    <a href='<%# "../Forums/QuestionForm.aspx?oid=" + Eval("OID") %>' target="_blank">
                        <%# ExpertMIS.Codes.Utility.CutLongText(Eval("Title"),12) %>
                    </a></li>
            </ItemTemplate>
            <FooterTemplate>
                </ul>
            </FooterTemplate>
        </asp:Repeater>
    </div>
</body>
</html>
